#!/bin/bash
echo "stopping......"
PID=$(ps -ef | grep 'lib/captureNetPacketCore' | grep -v grep | awk '{ print $2 }')
if [ -z "$PID" ]
then
    echo "the service is not exist......"
else
    kill $PID
    sleep 2
    echo "Stop success - pid:" $PID
fi
